{extend name="base" /}
{block name="body"}
<div class="layui-card">
    <div class="layui-card-body">
        <form action="{:request()->url()}" class="layui-form" method="post">
            <div class="layui-form-item">
                <label class="layui-form-label">提醒时间</label>
                <div class="layui-input-block">
                    <input type="text" name="datetime" value="{$data.datetime|default=''}" autocomplete="off" id="Datetime" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">提醒备注</label>
                <div class="layui-input-block">
                    <textarea name="remark" placeholder="请输入提醒备注" class="layui-textarea" style="height: 260px;">{$data.remark|default=''}</textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-filter="i" lay-submit="">保存</button>
                    <button class="layui-btn layui-btn-primary" type="reset">重置</button>
                </div>
            </div>
        </form>
    </div>
</div>
{/block}
{block name="js"}
<script type="text/javascript">
    <?php $today = date('Y-m-d',time());?>
    laydate.render({
        elem: '#Datetime'
        ,min: '{$today}'
        ,max: '2080-10-14'
    });
    
</script>
{/block}